"use strict";

exports.__esModule = true;
/**
 * 转变一个参数变成array
 * 
 * @param {*} val 
 */
var toArray = exports.toArray = function toArray(val) {
  return Array.isArray(val) ? val : [val];
};